package com.chixing.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xyh
 * @since 2022-11-04
 */
@TableName("template_kill")
@ApiModel(value = "TemplateKill对象", description = "")
public class TemplateKill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("模板id")
    @TableId(value = "template_kill_id", type = IdType.AUTO)
    private Integer templateKillId;

    @ApiModelProperty("模板价格")
    private Float templateKillSalary;

    @ApiModelProperty("模板链接")
    private String templateKillLink;

    @ApiModelProperty("模板名字")
    private String templateKillLabel;

    @ApiModelProperty("模板图片")
    private String templateKillImg;

    @ApiModelProperty("模板库存")
    private Integer templateKillInventory;

    private Integer beiyong1;//乐观锁字段

    private String beiyong2;

    public Integer getTemplateKillId() {
        return templateKillId;
    }

    public void setTemplateKillId(Integer templateKillId) {
        this.templateKillId = templateKillId;
    }
    public Float getTemplateKillSalary() {
        return templateKillSalary;
    }

    public void setTemplateKillSalary(Float templateKillSalary) {
        this.templateKillSalary = templateKillSalary;
    }
    public String getTemplateKillLink() {
        return templateKillLink;
    }

    public void setTemplateKillLink(String templateKillLink) {
        this.templateKillLink = templateKillLink;
    }
    public String getTemplateKillLabel() {
        return templateKillLabel;
    }

    public void setTemplateKillLabel(String templateKillLabel) {
        this.templateKillLabel = templateKillLabel;
    }
    public String getTemplateKillImg() {
        return templateKillImg;
    }

    public void setTemplateKillImg(String templateKillImg) {
        this.templateKillImg = templateKillImg;
    }
    public Integer getTemplateKillInventory() {
        return templateKillInventory;
    }

    public void setTemplateKillInventory(Integer templateKillInventory) {
        this.templateKillInventory = templateKillInventory;
    }
    public Integer getBeiyong1() {
        return beiyong1;
    }

    public void setBeiyong1(Integer beiyong1) {
        this.beiyong1 = beiyong1;
    }
    public String getBeiyong2() {
        return beiyong2;
    }

    public void setBeiyong2(String beiyong2) {
        this.beiyong2 = beiyong2;
    }

    @Override
    public String toString() {
        return "TemplateKill{" +
            "templateKillId=" + templateKillId +
            ", templateKillSalary=" + templateKillSalary +
            ", templateKillLink=" + templateKillLink +
            ", templateKillLabel=" + templateKillLabel +
            ", templateKillImg=" + templateKillImg +
            ", templateKillInventory=" + templateKillInventory +
            ", beiyong1=" + beiyong1 +
            ", beiyong2=" + beiyong2 +
        "}";
    }
}
